<template>
  <div class="">
    <!-- 新建了一个入口 用来放那些有导航的页面-->
    <router-view></router-view>
    <van-tabbar route>
      <van-tabbar-item icon="home-o" to="/home">首页</van-tabbar-item>
      <van-tabbar-item icon="search" to="/shopcar">购物车</van-tabbar-item>
      <van-tabbar-item icon="friends-o" to="/order">订单</van-tabbar-item>
      <van-tabbar-item icon="setting-o" to="/my">个人中心</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  mounted() {},
  methods: {},
  components: {},
};
</script>

<style lang="scss"></style>
